<template>
  <div>
    <el-menu class="el-menu-demo"  >
  <el-menu-item index="1">
    <h2>修改密码</h2>
</el-menu-item>

<el-divider style="margin:0"></el-divider>
</el-menu>
    <el-form label-width="100px" class="demo-ruleForm">
      <el-form-item label="当前密码" prop="pass">
        <el-input
          type="password"
          placeholder="当前登录密码"
          style="width: 300px"
        ></el-input>
      </el-form-item>
      <el-form-item label="新密码" prop="checkPass">
        <el-input
          type="password"
          placeholder="6-20位数字、字母、下划线"
          style="width: 300px"
        ></el-input>
      </el-form-item>
      <el-form-item label="确认新密码" prop="age">
        <el-input placeholder="请再次输入密码" style="width: 300px"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" style="width: 200px; border-radius: 20px"
          >保存</el-button
        >
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        pwd: "",
      },
    };
  },
};
</script>

<style lang="scss" scoped>
.demo-ruleForm{
  margin-left: 20px;
  background-color: #fff;
  padding: 10px 0;
}
.el-menu-demo{
   margin-left: 20px;
   border-radius: 10px;
   padding: 20px 0;
}
.el-divider{
    margin:0
}
</style>